package com.zb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@EnableDiscoveryClient  //开启服务的注册中心
@EnableFeignClients
public class GoodsApplication {
    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(GoodsApplication.class, args);

    }
}
